FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FrameLib_GlobalAllocator::Pruner Class Reference

an RAII utility for repeated deallocation with only a single lock. More...

#include <FrameLib_Memory.h>

Public Member Functions

 Pruner (FrameLib_GlobalAllocator *allocator)
 
 ~Pruner ()
 
 Pruner (const Pruner &)=delete
 
Pruneroperator= (const Pruner &)=delete
 
void dealloc (void *ptr)
 

Detailed Description

an RAII utility for repeated deallocation with only a single lock.

Constructor & Destructor Documentation

◆ Pruner() [1/2]

FrameLib_GlobalAllocator::Pruner::Pruner ( FrameLib_GlobalAllocator allocator)
inline

◆ ~Pruner()

FrameLib_GlobalAllocator::Pruner::~Pruner ( )
inline

◆ Pruner() [2/2]

FrameLib_GlobalAllocator::Pruner::Pruner ( const Pruner )
delete

Member Function Documentation

◆ dealloc()

void FrameLib_GlobalAllocator::Pruner::dealloc ( void *  ptr)
inline

◆ operator=()

Pruner& FrameLib_GlobalAllocator::Pruner::operator= ( const Pruner )
delete

The documentation for this class was generated from the following file: